package com.project.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "sscbgOne", path = "/supplier",contextId = "sscbgOne2")
public interface ISupplierService {
    /**
     * 修改供应商退货订单的状态
     *
     * @param supplierReturnId 供应商退货订单编号
     * @param status           供货状态
     * @return 是否供货成功
     */
    @RequestMapping(value = "/updateSupplierStatus/{supplierReturnId}/{status}")
    Boolean updateSupplierStatus(@PathVariable("supplierReturnId") String supplierReturnId, @PathVariable("status") int status);
}